package b3.net
{
	import flash.events.Event;

	public class ServerEvent extends Event
	{
		public static const LOGIN:String = "login";
		public static const OTHER_LOGIN:String = "otherLogin";
		public static const GET_BUILDINGS:String = "getBuildings";
		public static const ADD_BUILDINGS:String = "addBuildings";
		public static const LOAD_OBJECTS:String = "getPackage";
		public static const OBJECT_BALANCE:String = "objectBalance";
		public static const PURCHASE:String = "purchase";
		public static const BUY_GOODS:String = "buyGoods";
		public static const GET_FRIENDS:String = "getFriends";
		public static const GET_RANK_LIST:String = "getRankList";
		public static const LOAD_PLAYER_INFO:String = "getUserInfo";
		public static const REMOVE_BUILDING:String = "removeBuilding";
		public static const COLLECT_RENT:String = "collectRent";
		public static const LOAD_TASKS:String = "loadTasks";
		public static const FINISH_TASK:String = "finishTask";
		public static const CHECK_MATCH_QUALIFICATION:String = "checkMatchQualification";
		public static const GET_MATCH_RANK_LIST:String = "getMatchRankList";
		public static const GET_MATCH_TOP3:String = "getMatchRankTop3";
		public static const ADD_MATCH_RESULT:String = "addMatchResult";
		public static const REBUILD:String = "rebuild";
		public static const ATTACK_BUILDING:String = "attackBuilding";
		public static const SEND_MAIL:String = "sendMail";
		public static const GET_MAIL:String = "getMail";
		public static const RECIEVE_GIFT:String = "recieveGift";
		//获取黄钻新手礼包
		public static const FETCH_VIP_NEW_PRESENT:String = "fetchVipNewPresent";
		//获取黄钻每日礼包
		public static const FETCH_VIP_DAILY_PRESENT:String = "fetchVipDailyPresent";
		//获取国庆每日礼包
		public static const FETCH_NATIONAL_DAILY_PRESENT:String = "fetchNationalDailyPresent";
		//获取建筑物的社交信息
		public static const GET_SOCIAL_INFO_OF_BUILDING:String = "getSocialInfoOfBuilding";
		public static const GET_SOCIAL_INFO:String = "getSocialInfo";
		public static const SET_SOCIAL_MESSAGE_VIEWED:String = "setSocialMessageViewed";
		//获取状态
		public static const LOAD_STATES:String = "getStates";
		//检查建造的可行性
		public static const CHECK_AND_BUILD:String = "checkAndBuild";
		//获取吉尼斯纪录
		public static const GET_WORLD_RECORDS:String = "getWorldRecords";
		//同步人口
		public static const SYNC_POPULATION:String = "syncPopulation";
		//卡片请求
		public static const ALTERATION_CARD:String = "alterationCard";
		public static const ATTACK_AREA_CARD:String = "attackAreaCard";
		public static const ATTACK_BUILDING_CARD:String = "attackBuildingCard";
		public static const BUY_BUILDING_CARD:String = "buyBuildingCard";
		public static const DESTRUCTION_CARD:String = "destructionCard";
		public static const PROTECT_CARD:String = "protectCard";
		public static const SEAL_CARD:String = "sealCard";
		public static const STATE_CARD:String = "stateCard";
		public static const TAX_INSPECTION_CARD:String = "taxInspectionCard";
		public static const VITALITY_CARD:String = "vitalityCard";
		
		public function ServerEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
		}
		
	}
}